<template>
    <div class="announcement">
        <h3>公告</h3>
        <p>新增题库</p>
        <div class="announcement-footer">
            <span class="announcement-date">2025-03-09 19:24:39</span>
            <span class="announcement-author">sh</span>
        </div>
    </div>
</template>

<script>
export default {
    name: 'AnnouncementBoard',
};
</script>

<style scoped>
.announcement {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ebeef5;
    border-radius: 4px;
}

.announcement h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.announcement-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #909399;
    margin-top: 10px;
}
</style>